import { ApiProperty } from '@nestjs/swagger';
import { IsOptional } from 'class-validator';
export class GoodUpdateDto {
    /**
     * 商品名称
     */
    @ApiProperty({
        description: '商品名称',
        required: false,
    })
    @IsOptional()
    name?: string;
    /**
     * 商品图片
     */
    @ApiProperty({
        description: '商品图片',
        required: false,
    })
    @IsOptional()
    thumb_url?: string;
    /**
     * 店铺id
     */
    @ApiProperty({
        description: '店铺id',
        required: false,
    })
    @IsOptional()
    shop_id?: number;
}
